.class public Lcom/waiqin365/h5/device/WqDevice;
.super Lorg/apache/cordova/CordovaPlugin;


# instance fields
.field private a:Lorg/apache/cordova/CallbackContext;

.field private b:Landroid/app/Activity;

.field private c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

.field private d:Landroid/telephony/TelephonyManager;

.field private e:Ljava/lang/String;

.field private f:Ljava/lang/String;

.field private g:Ljava/lang/String;

.field private h:Ljava/lang/String;

.field private i:Ljava/lang/String;

.field private j:Ljava/lang/String;

.field private k:Ljava/lang/String;

.field private l:Z

.field private m:Ljava/lang/String;

.field private n:Ljava/lang/String;

.field private o:Z

.field private p:Z

.field private q:Z

.field private r:Ljava/lang/String;

.field private s:I

.field private t:I

.field private u:Z

.field private v:Z

.field private w:J


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lorg/apache/cordova/CordovaPlugin;-><init>()V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->e:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->f:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->g:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->h:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->i:Ljava/lang/String;

    const-string/jumbo v0, "Android"

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->j:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->k:Ljava/lang/String;

    iput-boolean v1, p0, Lcom/waiqin365/h5/device/WqDevice;->l:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->m:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->n:Ljava/lang/String;

    iput-boolean v1, p0, Lcom/waiqin365/h5/device/WqDevice;->o:Z

    iput-boolean v1, p0, Lcom/waiqin365/h5/device/WqDevice;->p:Z

    iput-boolean v1, p0, Lcom/waiqin365/h5/device/WqDevice;->q:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->r:Ljava/lang/String;

    iput v1, p0, Lcom/waiqin365/h5/device/WqDevice;->s:I

    iput v1, p0, Lcom/waiqin365/h5/device/WqDevice;->t:I

    iput-boolean v1, p0, Lcom/waiqin365/h5/device/WqDevice;->u:Z

    iput-boolean v1, p0, Lcom/waiqin365/h5/device/WqDevice;->v:Z

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/waiqin365/h5/device/WqDevice;->w:J

    return-void
.end method


# virtual methods
.method public execute(Ljava/lang/String;Lorg/apache/cordova/CordovaArgs;Lorg/apache/cordova/CallbackContext;)Z
    .locals 7

    const/4 v4, 0x1

    const/4 v6, 0x0

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->cordova:Lorg/apache/cordova/CordovaInterface;

    invoke-interface {v0}, Lorg/apache/cordova/CordovaInterface;->getActivity()Landroid/app/Activity;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->b:Landroid/app/Activity;

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->b:Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "phone"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/telephony/TelephonyManager;

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->d:Landroid/telephony/TelephonyManager;

    iput-object p3, p0, Lcom/waiqin365/h5/device/WqDevice;->a:Lorg/apache/cordova/CallbackContext;

    invoke-virtual {p2, v6}, Lorg/apache/cordova/CordovaArgs;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_4c

    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v0, "operation"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2f

    const-string/jumbo v0, ""

    move-object v1, v0

    :goto_0
    const-string/jumbo v0, "ESN"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->d:Landroid/telephony/TelephonyManager;

    invoke-virtual {v0}, Landroid/telephony/TelephonyManager;->getDeviceId()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_1

    const-string/jumbo v0, ""

    :cond_1
    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->e:Ljava/lang/String;

    const-string/jumbo v0, "ESN"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "ESN"

    iget-object v3, p0, Lcom/waiqin365/h5/device/WqDevice;->e:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_2
    const-string/jumbo v0, "IMSI"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_3

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->d:Landroid/telephony/TelephonyManager;

    invoke-virtual {v0}, Landroid/telephony/TelephonyManager;->getSubscriberId()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_4

    const-string/jumbo v0, ""

    :cond_4
    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->f:Ljava/lang/String;

    const-string/jumbo v0, "IMSI"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "IMSI"

    iget-object v3, p0, Lcom/waiqin365/h5/device/WqDevice;->f:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_5
    const-string/jumbo v0, "MAC"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_6

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    :cond_6
    const-string/jumbo v2, ""

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    const-string/jumbo v3, "wifi"

    invoke-virtual {v0, v3}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/wifi/WifiManager;

    if-eqz v0, :cond_4d

    invoke-virtual {v0}, Landroid/net/wifi/WifiManager;->getConnectionInfo()Landroid/net/wifi/WifiInfo;

    move-result-object v0

    if-eqz v0, :cond_30

    invoke-virtual {v0}, Landroid/net/wifi/WifiInfo;->getMacAddress()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_7

    const-string/jumbo v0, ""

    :cond_7
    :goto_1
    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->g:Ljava/lang/String;

    const-string/jumbo v0, "MAC"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "MAC"

    iget-object v3, p0, Lcom/waiqin365/h5/device/WqDevice;->g:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_8
    const-string/jumbo v0, "Model"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_9

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_a

    :cond_9
    sget-object v0, Landroid/os/Build;->MODEL:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->h:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->h:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_31

    const-string/jumbo v0, ""

    :goto_2
    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->h:Ljava/lang/String;

    const-string/jumbo v0, "Model"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_a

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "Model"

    iget-object v3, p0, Lcom/waiqin365/h5/device/WqDevice;->h:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_a
    const-string/jumbo v0, "Vendor"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_b

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_c

    :cond_b
    sget-object v0, Landroid/os/Build;->MODEL:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->i:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->i:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_32

    const-string/jumbo v0, ""

    :goto_3
    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->i:Ljava/lang/String;

    const-string/jumbo v0, "Vendor"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_c

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "Vendor"

    iget-object v3, p0, Lcom/waiqin365/h5/device/WqDevice;->i:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_c
    const-string/jumbo v0, "PlatfromType"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_d

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_e

    :cond_d
    const-string/jumbo v0, "Android"

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->j:Ljava/lang/String;

    const-string/jumbo v0, "PlatfromType"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_e

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "PlatfromType"

    iget-object v3, p0, Lcom/waiqin365/h5/device/WqDevice;->j:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_e
    const-string/jumbo v0, "OSVersion"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_f

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_10

    :cond_f
    sget-object v0, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->k:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->k:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_33

    const-string/jumbo v0, ""

    :goto_4
    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->k:Ljava/lang/String;

    const-string/jumbo v0, "OSVersion"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_10

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "OSVersion"

    iget-object v3, p0, Lcom/waiqin365/h5/device/WqDevice;->k:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_10
    const-string/jumbo v0, "SDCardStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_11

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_12

    :cond_11
    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v2, "mounted"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/h5/device/WqDevice;->l:Z

    const-string/jumbo v0, "SDCardStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_12

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "SDCardStatus"

    iget-boolean v0, p0, Lcom/waiqin365/h5/device/WqDevice;->l:Z

    if-eqz v0, :cond_34

    const-string/jumbo v0, "1"

    :goto_5
    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_12
    const-string/jumbo v0, "SDCardPath"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_13

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_14

    :cond_13
    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v2, "mounted"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_35

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v0

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    :goto_6
    iput-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->m:Ljava/lang/String;

    const-string/jumbo v0, "SDCardPath"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_14

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "SDCardPath"

    iget-object v3, p0, Lcom/waiqin365/h5/device/WqDevice;->m:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_14
    const-string/jumbo v0, "NetOperator"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_15

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_17

    :cond_15
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->d:Landroid/telephony/TelephonyManager;

    invoke-virtual {v0}, Landroid/telephony/TelephonyManager;->getSimOperator()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v2, ""

    if-eqz v0, :cond_39

    const-string/jumbo v2, "46000"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_16

    const-string/jumbo v2, "46002"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_36

    :cond_16
    const-string/jumbo v0, "\u4e2d\u56fd\u79fb\u52a8"

    :goto_7
    const-string/jumbo v2, "NetOperator"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_17

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "NetOperator"

    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_17
    const-string/jumbo v0, "WifiStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_18

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_19

    :cond_18
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    const-string/jumbo v2, "connectivity"

    invoke-virtual {v0, v2}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/ConnectivityManager;

    invoke-virtual {v0, v4}, Landroid/net/ConnectivityManager;->getNetworkInfo(I)Landroid/net/NetworkInfo;

    move-result-object v0

    invoke-virtual {v0}, Landroid/net/NetworkInfo;->isConnected()Z

    move-result v0

    if-eqz v0, :cond_3a

    iput-boolean v4, p0, Lcom/waiqin365/h5/device/WqDevice;->o:Z

    :goto_8
    const-string/jumbo v0, "WifiStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_19

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "WifiStatus"

    iget-boolean v0, p0, Lcom/waiqin365/h5/device/WqDevice;->o:Z

    if-eqz v0, :cond_3b

    const-string/jumbo v0, "1"

    :goto_9
    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_19
    const-string/jumbo v0, "GpsStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1a

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1d

    :cond_1a
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    const-string/jumbo v2, "location"

    invoke-virtual {v0, v2}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/location/LocationManager;

    const-string/jumbo v2, "gps"

    invoke-virtual {v0, v2}, Landroid/location/LocationManager;->isProviderEnabled(Ljava/lang/String;)Z

    move-result v2

    const-string/jumbo v3, "network"

    invoke-virtual {v0, v3}, Landroid/location/LocationManager;->isProviderEnabled(Ljava/lang/String;)Z

    move-result v0

    if-nez v2, :cond_1b

    if-eqz v0, :cond_1c

    :cond_1b
    iput-boolean v4, p0, Lcom/waiqin365/h5/device/WqDevice;->p:Z

    :cond_1c
    iput-boolean v6, p0, Lcom/waiqin365/h5/device/WqDevice;->p:Z

    const-string/jumbo v0, "GpsStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1d

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "GpsStatus"

    iget-boolean v0, p0, Lcom/waiqin365/h5/device/WqDevice;->p:Z

    if-eqz v0, :cond_3c

    const-string/jumbo v0, "1"

    :goto_a
    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_1d
    const-string/jumbo v0, "NetStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1e

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_20

    :cond_1e
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    const-string/jumbo v2, "connectivity"

    invoke-virtual {v0, v2}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/ConnectivityManager;

    invoke-virtual {v0}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;

    move-result-object v0

    if-eqz v0, :cond_1f

    invoke-virtual {v0}, Landroid/net/NetworkInfo;->getType()I

    move-result v0

    if-nez v0, :cond_1f

    iput-boolean v4, p0, Lcom/waiqin365/h5/device/WqDevice;->q:Z

    :cond_1f
    iput-boolean v6, p0, Lcom/waiqin365/h5/device/WqDevice;->q:Z

    const-string/jumbo v0, "NetStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_20

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "NetStatus"

    iget-boolean v0, p0, Lcom/waiqin365/h5/device/WqDevice;->q:Z

    if-eqz v0, :cond_3d

    const-string/jumbo v0, "1"

    :goto_b
    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_20
    const-string/jumbo v0, "WifiSSID"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_21

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_23

    :cond_21
    const-string/jumbo v0, ""

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    const-string/jumbo v2, "wifi"

    invoke-virtual {v0, v2}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/wifi/WifiManager;

    if-eqz v0, :cond_22

    invoke-virtual {v0}, Landroid/net/wifi/WifiManager;->getConnectionInfo()Landroid/net/wifi/WifiInfo;

    move-result-object v0

    if-eqz v0, :cond_3e

    invoke-virtual {v0}, Landroid/net/wifi/WifiInfo;->getSSID()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_22

    const-string/jumbo v0, ""

    :cond_22
    :goto_c
    const-string/jumbo v0, "WifiSSID"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_23

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "WifiSSID"

    iget-object v3, p0, Lcom/waiqin365/h5/device/WqDevice;->r:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_23
    const-string/jumbo v0, "ScreenWidth"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_24

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_25

    :cond_24
    new-instance v0, Landroid/util/DisplayMetrics;

    invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v0, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    iput v0, p0, Lcom/waiqin365/h5/device/WqDevice;->s:I

    const-string/jumbo v0, "ScreenWidth"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_25

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "ScreenWidth"

    iget v3, p0, Lcom/waiqin365/h5/device/WqDevice;->s:I

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_25
    const-string/jumbo v0, "ScreenHeight"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_26

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_27

    :cond_26
    new-instance v0, Landroid/util/DisplayMetrics;

    invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v0, v0, Landroid/util/DisplayMetrics;->heightPixels:I

    iput v0, p0, Lcom/waiqin365/h5/device/WqDevice;->t:I

    const-string/jumbo v0, "ScreenHeight"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_27

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "ScreenHeight"

    iget v3, p0, Lcom/waiqin365/h5/device/WqDevice;->t:I

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_27
    const-string/jumbo v0, "JBreakStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_28

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_29

    :cond_28
    :try_start_0
    invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;

    move-result-object v0

    const-string/jumbo v2, "su"

    invoke-virtual {v0, v2}, Ljava/lang/Runtime;->exec(Ljava/lang/String;)Ljava/lang/Process;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Process;->getOutputStream()Ljava/io/OutputStream;

    move-result-object v0

    if-nez v0, :cond_3f

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/h5/device/WqDevice;->u:Z
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_d
    const-string/jumbo v0, "JBreakStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_29

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "JBreakStatus"

    iget-boolean v0, p0, Lcom/waiqin365/h5/device/WqDevice;->u:Z

    if-eqz v0, :cond_40

    const-string/jumbo v0, "1"

    :goto_e
    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_29
    const-string/jumbo v0, "MockStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2a

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2b

    :cond_2a
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/compons/c/d;->a(Landroid/content/Context;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/h5/device/WqDevice;->v:Z

    const-string/jumbo v0, "MockStatus"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2b

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "MockStatus"

    iget-boolean v0, p0, Lcom/waiqin365/h5/device/WqDevice;->v:Z

    if-eqz v0, :cond_41

    const-string/jumbo v0, "1"

    :goto_f
    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_2b
    const-string/jumbo v0, "Memory"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2c

    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2d

    :cond_2c
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->c:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    const-string/jumbo v2, "activity"

    invoke-virtual {v0, v2}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/ActivityManager;

    new-instance v2, Landroid/app/ActivityManager$MemoryInfo;

    invoke-direct {v2}, Landroid/app/ActivityManager$MemoryInfo;-><init>()V

    invoke-virtual {v0, v2}, Landroid/app/ActivityManager;->getMemoryInfo(Landroid/app/ActivityManager$MemoryInfo;)V

    iget-wide v2, v2, Landroid/app/ActivityManager$MemoryInfo;->availMem:J

    const-wide/16 v4, 0x400

    div-long/2addr v2, v4

    iput-wide v2, p0, Lcom/waiqin365/h5/device/WqDevice;->w:J

    const-string/jumbo v0, "Memory"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2d

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "Memory"

    iget-wide v4, p0, Lcom/waiqin365/h5/device/WqDevice;->w:J

    invoke-virtual {v0, v2, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_2d
    const-string/jumbo v0, "AllInfo"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2e

    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "ESN"

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->e:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_42

    const-string/jumbo v0, ""

    :goto_10
    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "IMSI"

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->f:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_43

    const-string/jumbo v0, ""

    :goto_11
    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "MAC"

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->g:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_44

    const-string/jumbo v0, ""

    :goto_12
    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "Model"

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->h:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_45

    const-string/jumbo v0, ""

    :goto_13
    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "Vendor"

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->i:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_46

    const-string/jumbo v0, ""

    :goto_14
    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "PlatfromType"

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->j:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_47

    const-string/jumbo v0, ""

    :goto_15
    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "OSVersion"

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->k:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_48

    const-string/jumbo v0, ""

    :goto_16
    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v0, "SDCardStatus"

    iget-boolean v2, p0, Lcom/waiqin365/h5/device/WqDevice;->l:Z

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string/jumbo v2, "SDCardPath"

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->m:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_49

    const-string/jumbo v0, ""

    :goto_17
    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "NetOperator"

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->n:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_4a

    const-string/jumbo v0, ""

    :goto_18
    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v0, "WifiStatus"

    iget-boolean v2, p0, Lcom/waiqin365/h5/device/WqDevice;->o:Z

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string/jumbo v0, "GpsStatus"

    iget-boolean v2, p0, Lcom/waiqin365/h5/device/WqDevice;->p:Z

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string/jumbo v0, "NetStatus"

    iget-boolean v2, p0, Lcom/waiqin365/h5/device/WqDevice;->q:Z

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string/jumbo v2, "WifiSSID"

    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->r:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_4b

    const-string/jumbo v0, ""

    :goto_19
    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v0, "ScreenWidth"

    iget v2, p0, Lcom/waiqin365/h5/device/WqDevice;->s:I

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string/jumbo v0, "ScreenHeight"

    iget v2, p0, Lcom/waiqin365/h5/device/WqDevice;->t:I

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string/jumbo v0, "JBreakStatus"

    iget-boolean v2, p0, Lcom/waiqin365/h5/device/WqDevice;->u:Z

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string/jumbo v0, "MockStatus"

    iget-boolean v2, p0, Lcom/waiqin365/h5/device/WqDevice;->v:Z

    invoke-virtual {v1, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string/jumbo v0, "Memory"

    iget-wide v2, p0, Lcom/waiqin365/h5/device/WqDevice;->w:J

    invoke-virtual {v1, v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    invoke-virtual {p3, v1}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V

    :cond_2e
    :goto_1a
    return v6

    :cond_2f
    move-object v1, v0

    goto/16 :goto_0

    :cond_30
    const-string/jumbo v0, ""

    goto/16 :goto_1

    :cond_31
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->h:Ljava/lang/String;

    goto/16 :goto_2

    :cond_32
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->i:Ljava/lang/String;

    goto/16 :goto_3

    :cond_33
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->k:Ljava/lang/String;

    goto/16 :goto_4

    :cond_34
    const-string/jumbo v0, "2"

    goto/16 :goto_5

    :cond_35
    const-string/jumbo v0, ""

    goto/16 :goto_6

    :cond_36
    const-string/jumbo v2, "46001"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_37

    const-string/jumbo v0, "\u4e2d\u56fd\u8054\u901a"

    goto/16 :goto_7

    :cond_37
    const-string/jumbo v2, "46003"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_38

    const-string/jumbo v0, "\u4e2d\u56fd\u7535\u4fe1"

    goto/16 :goto_7

    :cond_38
    const-string/jumbo v0, ""

    goto/16 :goto_7

    :cond_39
    const-string/jumbo v0, ""

    goto/16 :goto_7

    :cond_3a
    iput-boolean v6, p0, Lcom/waiqin365/h5/device/WqDevice;->o:Z

    goto/16 :goto_8

    :cond_3b
    const-string/jumbo v0, "2"

    goto/16 :goto_9

    :cond_3c
    const-string/jumbo v0, "2"

    goto/16 :goto_a

    :cond_3d
    const-string/jumbo v0, "2"

    goto/16 :goto_b

    :cond_3e
    const-string/jumbo v0, ""

    goto/16 :goto_c

    :cond_3f
    const/4 v0, 0x1

    :try_start_1
    iput-boolean v0, p0, Lcom/waiqin365/h5/device/WqDevice;->u:Z
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_d

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    iput-boolean v6, p0, Lcom/waiqin365/h5/device/WqDevice;->u:Z

    goto/16 :goto_d

    :cond_40
    const-string/jumbo v0, "2"

    goto/16 :goto_e

    :cond_41
    const-string/jumbo v0, "2"

    goto/16 :goto_f

    :cond_42
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->e:Ljava/lang/String;

    goto/16 :goto_10

    :cond_43
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->f:Ljava/lang/String;

    goto/16 :goto_11

    :cond_44
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->g:Ljava/lang/String;

    goto/16 :goto_12

    :cond_45
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->h:Ljava/lang/String;

    goto/16 :goto_13

    :cond_46
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->i:Ljava/lang/String;

    goto/16 :goto_14

    :cond_47
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->j:Ljava/lang/String;

    goto/16 :goto_15

    :cond_48
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->k:Ljava/lang/String;

    goto/16 :goto_16

    :cond_49
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->m:Ljava/lang/String;

    goto/16 :goto_17

    :cond_4a
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->n:Ljava/lang/String;

    goto/16 :goto_18

    :cond_4b
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->r:Ljava/lang/String;

    goto/16 :goto_19

    :cond_4c
    iget-object v0, p0, Lcom/waiqin365/h5/device/WqDevice;->b:Landroid/app/Activity;

    const v1, 0x7f080615

    invoke-virtual {v0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p3, v0}, Lorg/apache/cordova/CallbackContext;->error(Ljava/lang/String;)V

    goto/16 :goto_1a

    :cond_4d
    move-object v0, v2

    goto/16 :goto_1
.end method
